package com.example.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @program: backed
 * @author: zk
 * @create: 2023-03-23 19:13
 **/

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 手机号码
     */
    private String phone;

    /**
     *  用户昵称
     */
    private String username;

    /**
     * 密码，加密存储
     */
    private String password;

    /**
     * 用户头像
     */
    private String icon = "";


}
